home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / pmllib21.zoo / Makefile.tos < prev    next >
Encoding:
Makefile  |  1993-08-12  |  1.9 KB  |  77 lines

  1. CROSSDIR = /share/gcc-cross/atari
  2. CROSSLIB = $(CROSSDIR)/lib
  3. CROSSBIN = $(CROSSDIR)/bin
  4. CROSSINC = $(CROSSDIR)/include
  5. XFLAGS = -Wstrict-prototypes
  6. #this has to be gnu make
  7. MAKE=gmake
  8. CC=cgcc
  9. AR=car
  10.  
  11. ALL = pml16.olb pml.olb pml02016.olb pml020.olb \
  12.     bpml16.olb bpml.olb bpml02016.olb bpml020.olb
  13. #ALL = pml16.olb pml.olb
  14. #ALL = pml02016.olb pml020.olb bpml02016.olb bpml020.olb
  15.  
  16. all : $(ALL)
  17.  
  18. pml16.olb :
  19.     $(MAKE) -f makefile.pml clean
  20.     $(MAKE) -f makefile.pml CC="$(CC)" AR="$(AR)" XFLAGS="$(XFLAGS)" s=true
  21.  
  22. pml.olb :
  23.     $(MAKE) -f makefile.pml clean
  24.     $(MAKE) -f makefile.pml CC="$(CC)" AR="$(AR)" XFLAGS="$(XFLAGS)"
  25.  
  26. pml02016.olb :
  27.     $(MAKE) -f makefile.pml clean
  28.     $(MAKE) -f makefile.pml CC="$(CC) -m68020" AR="$(AR)" \
  29.  XFLAGS="$(XFLAGS)" m=68881 s=true
  30.  
  31. pml020.olb :
  32.     $(MAKE) -f makefile.pml clean
  33.     $(MAKE) -f makefile.pml CC="$(CC) -m68020" AR="$(AR)" \
  34.  XFLAGS="$(XFLAGS)" m=68881
  35.  
  36. bpml16.olb :
  37.     $(MAKE) -f makefile.pml clean
  38.     $(MAKE) -f makefile.pml CC="$(CC)" AR="$(AR)" XFLAGS="$(XFLAGS)" s=true b=true
  39.  
  40. bpml.olb :
  41.     $(MAKE) -f makefile.pml clean
  42.     $(MAKE) -f makefile.pml CC="$(CC)" AR="$(AR)" XFLAGS="$(XFLAGS)" b=true
  43.  
  44. bpml02016.olb :
  45.     $(MAKE) -f makefile.pml clean
  46.     $(MAKE) -f makefile.pml CC="$(CC) -m68020" AR="$(AR)" \
  47.  XFLAGS="$(XFLAGS)" m=68881 s=true b=true
  48.  
  49. bpml020.olb :
  50.     $(MAKE) -f makefile.pml clean
  51.     $(MAKE) -f makefile.pml CC="$(CC) -m68020" AR="$(AR)" \
  52.  XFLAGS="$(XFLAGS)" m=68881 b=true
  53.  
  54. install : $(ALL)
  55.     cp pml16.olb pml.olb $(CROSSLIB)
  56.     cp math.h $(CROSSINC)
  57.  
  58. install020 : pml02016.olb pml020.olb
  59.     cp pml16020.olb pml020.olb $(CROSSLIB)
  60.     cp math.h $(CROSSINC)
  61.  
  62. binstall : $(ALL)
  63.     cp bpml16.olb bpml.olb $(CROSSLIB)
  64.     cp math.h $(CROSSINC)
  65.     
  66. binstall020 : $(ALL)
  67.     cp bpml16020.olb bpml020.olb $(CROSSLIB)
  68.     cp math.h $(CROSSINC)
  69.     
  70. clean:
  71.     $(MAKE) -f makefile.pml clean
  72.     $(MAKE) -f makefile.pml clean
  73.  
  74. realclean:
  75.     $(MAKE) -f makefile.pml realclean
  76.     $(MAKE) -f makefile.pml realclean
  77.